﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x0200078E RID: 1934
	public class CVRChaperone
	{
		// Token: 0x06002E48 RID: 11848 RVA: 0x000F2310 File Offset: 0x000F0510
		internal CVRChaperone(IntPtr pInterface)
		{
			this.FnTable = (IVRChaperone)Marshal.PtrToStructure(pInterface, typeof(IVRChaperone));
		}

		// Token: 0x06002E49 RID: 11849 RVA: 0x000F2334 File Offset: 0x000F0534
		public ChaperoneCalibrationState GetCalibrationState()
		{
			return this.FnTable.GetCalibrationState();
		}

		// Token: 0x06002E4A RID: 11850 RVA: 0x000F2354 File Offset: 0x000F0554
		public bool GetPlayAreaSize(ref float pSizeX, ref float pSizeZ)
		{
			pSizeX = 0f;
			pSizeZ = 0f;
			return this.FnTable.GetPlayAreaSize(ref pSizeX, ref pSizeZ);
		}

		// Token: 0x06002E4B RID: 11851 RVA: 0x000F2384 File Offset: 0x000F0584
		public bool GetPlayAreaRect(ref HmdQuad_t rect)
		{
			return this.FnTable.GetPlayAreaRect(ref rect);
		}

		// Token: 0x06002E4C RID: 11852 RVA: 0x000F23A4 File Offset: 0x000F05A4
		public void ReloadInfo()
		{
			this.FnTable.ReloadInfo();
		}

		// Token: 0x06002E4D RID: 11853 RVA: 0x000F23B8 File Offset: 0x000F05B8
		public void SetSceneColor(HmdColor_t color)
		{
			this.FnTable.SetSceneColor(color);
		}

		// Token: 0x06002E4E RID: 11854 RVA: 0x000F23CC File Offset: 0x000F05CC
		public void GetBoundsColor(ref HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, ref HmdColor_t pOutputCameraColor)
		{
			this.FnTable.GetBoundsColor(ref pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, ref pOutputCameraColor);
		}

		// Token: 0x06002E4F RID: 11855 RVA: 0x000F23E4 File Offset: 0x000F05E4
		public bool AreBoundsVisible()
		{
			return this.FnTable.AreBoundsVisible();
		}

		// Token: 0x06002E50 RID: 11856 RVA: 0x000F2404 File Offset: 0x000F0604
		public void ForceBoundsVisible(bool bForce)
		{
			this.FnTable.ForceBoundsVisible(bForce);
		}

		// Token: 0x04002ADE RID: 10974
		private IVRChaperone FnTable;
	}
}
